<include file="public@header" />
</head>
<body>
    <div class="layui-fluid js-check-wrap">
        <div class="layui-card">
            <div class="layui-card-header well">
                <div class="layui-col-xs6">
                    <h3>会员列表</h3>
                </div>
                <div class="layui-col-xs6 text-right">
                    <a href="{:url('user/user_tag_add',array('id'=>input('id')))}" class="layui-btn layui-btn-normal">添加会员</a>
                </div>
            </div>

            <div class="layui-card-body">
                <table class="layui-table" >
                    <thead>
                        <tr>
                            <th width="50">ID</th>
                            <th>会员名称</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <foreach name="data" item="vo">
                        <tr>
                            <td>{$vo.tagid}</td>
                            <td>{$vo.user_login}</td>
                            <td>
                               <!--  <a href="{:url('user/edittag',array('id'=>$vo['id']))}" class="layui-btn layui-btn-xs">编辑</a> -->
                                <a href="{:url('user/user_delete',array('id'=>$vo['id']))}" class="js-ajax-delete layui-btn layui-btn-danger layui-btn-xs">{:lang('DELETE')}</a>
                            </td>
                        </tr>
                        </foreach>
                    </tbody>
                </table>
            </div>
        </div>        
    </div>

<include file="public@footer"/>
